/**
 * Created by cqb32_000 on 2016-12-23.
 */
var redis = require('redis');

var RDS_PORT = 6379,        //端口号
    RDS_HOST = '127.0.1.1',    //服务器IP
    RDS_PWD = 'porschev',
    RDS_OPTS = {},            //设置项
    client = redis.createClient(RDS_PORT,RDS_HOST,RDS_OPTS);

var key = "b8daa222-ddf9-978d-21a4-59bc4d0482f0:7d51d7ed-3c4d-cfc6-1886-8b056133aa8d:3a6aae0be6b7b1cc04045ebf30a28d56b173e8bef03fa14c966df41a18d8e0264f63b927bbd5ba246ec3783b985a564589619febc63b92036e39191223817548:2016-12-27";
client.on("ready", function(){
    client.get(key, function(){
        console.log(arguments);
    });
});